#ifndef __OC_VAO_H__
#define __OC_VAO_H__

#include "VBO.h"
#include "EBO.h"
#include "glad/glad.h"

namespace OCPP
{
	class _openGLExport VAO
	{
	public:
		VAO();
		~VAO();
		void linkVBO(VBO* VBO, uint32 layout, GLuint numComponents, GLenum type, GLsizeiptr stride, void* offset);
		void bind();
		void unbind();
		void destroy();
	private:
		uint32	ID;
		bool	mbGened = false;
	};
}

#endif // !__OC_WINDOW_H__
